package spring.learn.core.ioc.data;

import java.util.ArrayList;
import java.util.List;

public class PetService {
    private final List<String> petUserList = new ArrayList<>();

    public PetService() {
        addUser("init");
    }

    public List<String> getPetUserList() {
        return petUserList;
    }

    public void addUser(String userName) {
        this.petUserList.add(userName);
    }

}
